package cn.net.cfss.fgbp.auth.controller;

import cn.net.cfss.fgbp.base.constant.ErrCodeEnum;
import cn.net.cfss.fgbp.base.vo.ReturnVo;
import cn.net.cfss.fgbp.base.vo.UserVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;

@RestController
@Slf4j
public class TestController {



    @RequestMapping(value ="test",method = RequestMethod.POST)
    public Map<String,Object> test(@RequestParam String userName, @RequestParam String password){
        String hello= UUID.randomUUID().toString();
        String hello2= UUID.randomUUID().toString();
        UserVo userVo=new UserVo();
        userVo.setLoginName(hello);

        log.info("sendUserVo:"+hello);
        log.info("sendString:"+hello2);
        Map<String,Object> resultMap = new HashMap<>();
        return resultMap;
    }
}
